mathlab
mathlab copied to clipboard
TODO
- [x]
pointwise()Create a pointwise function - [ ]
all()All the components of x are true - [ ]
any()One or more of the components of x are true - [ ]
ccsDim()Dimensions of sparse matrix - [ ]
ccsDot()Sparse matrix-matrix product - [ ]
ccsFull()Convert sparse to full - [ ]
ccsGather()Gather entries of sparse matrix - [ ]
ccsGetBlock()Get rows/columns of sparse matrix - [ ]
ccsLUP()Compute LUP decomposition of sparse matrix - [ ]
ccsLUPSolve()Solve Ax=b using LUP decomp - [ ]
ccsScatter()Scatter entries of sparse matrix - [ ]
ccsSparse()Convert from full to sparse - [ ]
ccsTSolve()Solve upper/lower triangular system - [ ]
ccs<op>()Supported ops include: add/div/mul/geq/etc... - [ ]
cLU()Coordinate matrix LU decomposition - [ ]
cLUsolve()Coordinate matrix LU solve - [ ]
cdelsq()Coordinate matrix Laplacian - [ ]
cdotMV()Coordinate matrix-vector product - [ ]
cgrid()Coordinate grid for cdelsq - [x]
det()Determinant - [ ]
diveq()Pointwise x/=y - [ ]
dopri()Numerical integration of ODE using Dormand-Prince RK method. Returns an object Dopri. - [ ]
Dopri.at()Evaluate the ODE solution at a point - [ ]
dot()Matrix-Matrix, Matrix-Vector and Vector-Matrix product - [ ]
eig()Eigenvalues and eigenvectors - [ ]
epsilon()2.220446049250313e-16 - [ ]
getBlock()Extract a block from a matrix - [x]
getDiag()Get the diagonal of a matrix - [x]
identity()Identity matrix - [ ]
imageURL()Encode a matrix as an image URL - [x]
inv()Matrix inverse - [ ]
largeArray()Don't prettyPrint Arrays larger than this - [ ]
LU()Dense LU decomposition - [ ]
LUsolve()Dense LU solve - [ ]
mapreduce()Make a pointwise map-reduce function - [ ]
norm2()Square root of the sum of the square of the entries of x - [ ]
norm2Squared()Sum of squares of entries of x - [ ]
norminf()Largest modulus entry of x - [ ]
parseCSV()Parse a CSV file into an Array - [ ]
parseDate()Pointwise parseDate(x) - [ ]
parseFloat()Pointwise parseFloat(x) - [ ]
precision()Number of digits to prettyPrint - [ ]
prettyPrint()Pretty-prints x - [ ]
random()Create an Array of random numbers - [ ]
rep()Create an Array by duplicating values - [ ]
same()x and y are entrywise identical - [ ]
seedrandom()The seedrandom module - [ ]
setBlock()Set a block of a matrix - [ ]
solve()Solve Ax=b - [ ]
solveLP()Solve a linear programming problem - [ ]
solveQP()Solve a quadratic programming problem - [ ]
spline()Create a Spline object - [ ]
Spline.at()Evaluate the Spline at a point - [ ]
Spline.diff()Differentiate the Spline - [ ]
Spline.roots()Find all the roots of the Spline - [ ]
subeq()Pointwise x-=y - [ ]
sum()Sum all the entries of x - [ ]
svd()Singular value decomposition - [ ]
t()Create a tensor type T (may be complex-valued) - [ ]
T.<numericfun>()Supportedare: abs, add, cos, diag, div, dot, exp, getBlock, getDiag, inv, log, mul, neg, norm2, setBlock, sin, sub, transpose - [ ]
T.conj()Pointwise complex conjugate - [ ]
T.fft()Fast Fourier transform - [ ]
T.get()Read an entry - [ ]
T.getRow()Get a row - [ ]
T.getRows()Get a range of rows - [ ]
T.ifft()Inverse FFT - [ ]
T.reciprocal()Pointwise 1/z - [ ]
T.set()Set an entry - [ ]
T.setRow()Set a row - [ ]
T.setRows()Set a range of rows - [ ]
T.transjugate()The conjugate-transpose of a matrix - [ ]
tensor()Tensor product ret[i][j] = x[i]*y[j] - [ ]
toCSV()Make a CSV file - [x]
transpose()Matrix transpose - [ ]
uncmin()Unconstrained optimization - [ ]
version()Version string for the numeric library
Pointwise functions
- [x]
clone()Deep copy of Array - [x]
abs()Absolute value - [x]
acos()Arc-cosine - [x]
add()Pointwise sum x+y - [x]
and()Pointwise x && y - [x]
asin()Arc-sine - [x]
atan()Arc-tangeant - [x]
atan2()Arc-tangeant (two parameters) - [x]
band()Pointwise x & y - [x]
bnot()Binary negation ~x - [x]
bor()Binary or x|y - [x]
bxor()Binary xor x^y - [x]
ceil()Pointwise Math.ceil(x) - [x]
cos()Pointwise Math.cos(x) - [x]
diag()Create diagonal matrix - [x]
dim()Get Array dimensions - [x]
div()Pointwise x/y - [x]
eq()Pointwise comparison x === y - [x]
exp()Pointwise Math.exp(x) - [x]
floor()Poinwise Math.floor(x) - [x]
geq()Pointwise x>=y - [x]
gt()Pointwise x>y - [x]
leq()Pointwise x<=y - [x]
linspace()Generate evenly spaced values - [x]
log()Pointwise Math.log(x) - [x]
lshift()Pointwise x<<y - [x]
lt()Pointwise x<y - [x]
mod()Pointwise x%y - [x]
mul()Pointwise x*y - [x]
neg()Pointwise -x - [x]
neq()Pointwise x!==y - [x]
not()Pointwise logical negation !x - [x]
or()Pointwise logical or x||y - [x]
pow()Pointwise Math.pow(x) - [x]
round()Pointwise Math.round(x) - [x]
rrshift()Pointwise x>>>y - [x]
rshift()Pointwise x>>y - [x]
rshifteq()Pointwise x>>=y - [x]
sin()Pointwise Math.sin(x) - [x]
sqrt()Pointwise Math.sqrt(x) - [x]
sub()Pointwise x-y - [x]
tan()Pointwise Math.tan(x) - [x]
xor()Pointwise x^y