kernel generating function



hi, i asked a question here a few days ago and got a good response so i
figured i'd try again:
i want a function that will take in an x and y coordinate and return a
value based on:
1. the distance from the center of the kernel (where i can assume the
center is 0,0 because i normalized the values based on the size of the
kernel before sending them in)
2. the distance from the +/- 45 degree line and +/- 135 degree line.

i will use this function to generate a 2D kernel.

i came up with a function that got me started but it's a major hack and
not exactly what i want. ideally, i'd like this kernel function to have
2 parameters:
1 for how fast the value drops as the distance from the center of the
kernel increases
and another for how fast the value drops as the distance from any of
the (+/- 45 or +/- 135) angles increases.

any pointers appreciated.
thanks,
-brent

.



Relevant Pages

  • Re: reiser4 plugins
    ... > Hans Reiser wrote: ... >> There has been no response to the technical email asking for what ... > because of the kernel cabal .. ... "Because our code is 90% library routines (aka plugins), ...
    (Linux-Kernel)
  • Re: [BUG] New Kernel Bugs
    ... the form [Bug 1234] so that bugzilla will capture the discussion. ... One response from a developer ... Kernel: 2.6.24-rc2 ... Zero responses from developers ...
    (Linux-Kernel)
  • KERNEL 2.6.3 and MAXTOR 160 GB
    ... the kernel 2.6.1 or 2.6.3 does not. ... ACPI: No IRQ known for interrupt pin A of device 0000:00:04.0 - using IRQ ... no response, ... hdd: no response, ...
    (Linux-Kernel)
  • Re: KDE 3.4.1 + X.org 6.8.2 + GeForce MX 4400 + nVidia modules = freeze... but not always!
    ... I forgot to mention that my kernel is the one from Debian Sid ... > It does sound like permission problems. ... process is it and to know what kind of response is it waiting for). ...
    (comp.windows.x.kde)
  • Re: Not to whine, but [more details on NIC problem]
    ... William's response to my e-mail. ... show up when I installed the SMP version of the 2.6 kernel with a SuSE ... It is indeed a 3com card. ... The computer can see the network through the card, ...
    (Fedora)