Power utility function inverse6/29/2023 ![]() Transpose and complex conjugate a matrix.Ĭreate a diagonal matrix or retrieve the diagonal of a matrix When x is a vector, a matrix with vector x on the diagonal will be returned.Ĭreate a new matrix or array of the difference between elements of the given array The optional dim parameter lets you specify the dimension to evaluate the difference of If no dimension parameter is passed it is assumed as dimension 0 Dimension is zero-based in javascript and one-based in the parser and can be a number or bignumber Arrays must be ‘rectangular’ meaning arrays like If something is passed as a matrix it will be returned as a matrix but other than that all matrices are converted to arrays.Ĭalculate the dot product of two vectors.Ĭompute eigenvalues and eigenvectors of a matrix.Ĭompute the matrix exponential, expm(A) = e^A.Ĭalculate N-dimensional fourier transform.įilter the items in an array or one dimensional matrix.įlatten a multidimensional matrix into a single dimensional matrix. Math.intersect(endPoint1Line1, endPoint2Line1, endPoint1Line2, endPoint2Line2)Ĭalculates the point of intersection of two lines in two or three dimensions and of a line and a plane in three dimensions.Īpply a function that maps an array to a scalar along a given axis of a matrix or array.Ĭount the number of elements of a matrix, array or string.Ĭalculate the cross product for two vectors in three dimensional space. Get the imaginary part of a complex number.Ĭalculates: The eucledian distance between two points in N-dimensional spaces. The Stirling numbers of the second kind, counts the number of ways to partition a set of n labelled objects into k nonempty unlabelled subsets.Ĭompute the complex conjugate of a complex value. The composition counts of n into k parts. The Catalan Numbers enumerate combinatorial structures of many different types. The Bell Numbers count the number of partitions of a set. Inverse the sign of a value, apply a unary minus operation.Ĭalculate the extended greatest common divisor for two values.īitwise left logical shift of a value x by y number of bits, x > y.īitwise right logical shift of value x by y number of bits, x > y. Round a value towards the nearest rounded value. Round a value towards plus infinity If x is complex, both real and imaginary part are rounded towards plus infinity.Ĭalculates the power of x to y element wise.Ĭalculate the value of subtracting 1 from the exponential value.Ĭalculate the greatest common divisor for two or more values or arrays.Ĭalculate the hypotenusa of a list with values.Ĭalculate the (modular) multiplicative inverse of a modulo b.Ĭalculate the least common multiple for two or more values or arrays.Ĭalculate the 10-base logarithm of a value.Ĭalculates the modulus, the remainder of an integer division.Ĭalculate the norm of a number, vector or matrix. Solves the real-valued Sylvester equation AX+XB=C for X, where A, B and C are matrices of appropriate dimensions, being A and B squared.Īttempts to determine if two expressions are symbolically equal, i.įinds one solution of a linear equation system by backward substitution.įinds all solutions of a linear equation system by backward substitution.Ĭalculate the absolute value of a number. Simplif圜ore() performs single pass simplification suitable for applications requiring ultimate performance.Ĭalculate the Sparse Matrix LU decomposition with full pivoting. Simplif圜onstant() takes a mathjs expression (either a Node representing a parse tree or a string which it parses to produce a node), and replaces any subexpression of it consisting entirely of constants with the computed value of that subexpression. Performs a real Schur decomposition of the real matrix A = UTU’ where U is orthogonal and T is upper quasi-triangular. ![]() Resolve(expr, scope) replaces variable nodes with their scoped values. Transform a rationalizable expression in a rational fraction. PolynomialRoot(constant, linearCoeff, quadraticCoeff, cubicCoeff)įinds the numerical values of the distinct roots of a polynomial with real or complex coefficients. Solves the Continuous-time Lyapunov equation AP+PA’+Q=0 for P, where Q is an input matrix. Solves the linear system A * x = b where A is an matrix and b is a column vector. Gives the number of “leaf nodes” in the parse tree of the given expression A leaf node is one that has no subexpressions, essentially either a symbol or a constant.įinds one solution of a linear equation system by forwards substitution.įinds all solutions of a linear equation system by forwards substitution.Ĭalculate the Matrix LU decomposition with partial pivoting. Takes the derivative of an expression expressed in parser Nodes. Retrieve help on a function or data type. Function reference # Expression functions # Function
0 Comments
Leave a Reply. |