
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
This package(list_cmath 0.1)can save complex number by lists.
Tips: Lists may like this:[0.125,0.625] is equivalent to 0.125+0.625i and python complex (0.125+0.625j).
it will be call "complex list" after this tip.
cAdd(a,b)
cAdd(a,b)
returns the sum of two complex numbers.
list(a)
: A complex list.
list(b)
: Another complex list.
list(<re>)
: A complex list.
Notes:
<re>
means a representation.
cMult(u,v)
cMult(u,v)
returns the product of two complex numbers.
list(u)
: A complex list.
list(v)
: Another complex list.
list(<re>)
: A complex list.
cPow(x,n)
cPow(x,n)
returns the n-th power of complex number x.
list(x)
: A complex list.
int(n)
: Power of x
.
list(t)
: A complex list.
listToComplex(z)
listToComplex(z)
returns a python buit-in complex
that equal to the input complex list.
list(x)
: A complex list.
list(<re>)
: A complex equal to x
.
complexToList(z)
complexToList(z)
returns a complex list that equal to the input python buit-in complex
.
complex(x)
: A complex.
list(<re>)
: A complex list equal to x
.
listsToComplexes(lists)
listsToComplexes(lists)
returns a list of complex.
list(lists)
: A list of list complex.
Notes: example of "list of list complex":
[[0.125,0.75], [0.625,0.25], [1.525,25.5]]
list(complexes)
: A list of complex,ietms in it are all equal to items in lists
.
complexesToLists(complexes)
complexesToLists(complexes)
returns a list of list complex.
list(complexes)
: A list of complex.
list(lists)
: A list of list complex,ietms in it are all equal to items in complexes
.
lcSum(clist)
lSum(clist)
returns the sum of one-list of complex numbers.
list(clist)
: A list of list complex.
list(<re>)
: A list complex.
lcMult(clist)
lcMult(clist)
returns the product of one-list of complex numbers.
list(clist)
: A list of list complex.
list(s)
: A list complex.
lmagnitude(clist)
lmagnitude(clist)
returns the absolute value of one-list of complex number.
list(clist)
: A list of list complex.
list(r)
: A list complex.
mandelbrot.mandelbrot(z,num)
mandelbrot.mandelbrot_p(z,num,n)
mandelbrot.mandelbrot_e(z,num,a)
These funcions retuun the process num times and return the number of diverging times.
list(z)
: A list of list complex.
int(num)
: A list of list complex.
int(n)
: A list of list complex.
string(a)
: A re.
int(count)
: The number of diverging times.
This is the first version of 'list_complex' package,so it may be some bugs.
Plese visit README.html
in the package to get colorful options.
FAQs
Using list to save complex.
We found that list-cmath demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.