![]() ![]() ![]() Static membersĮxpr.add – Compute the sum of expressions.Įxpr.condense – Flatten expression and remove all structural zeros.Įxpr.constTerm – Create an expression consisting of a constant vector of values.Įxpr.dot – Return a scalar expression object representing the dot-product of two items.Įxpr.flatten – Reshape the expression into a vector.Įxpr.hstack – Stack a list of expressions horizontally (i.e. ![]() \(A\) is a matrix on sparse form, \(x\) is a variable vector and \(b\) is aĪdditionally, the class defines a set of static methods for constructing and manipulatingīaseExpression.getDim – Return the d’th dimension in the expression.īaseExpression.getND – Return the number of dimensions in the expression.īaseExpression.getShape – Get the shape of the expression.īaseExpression.getSize – Return the total number of elements in the expression (the product of the dimensions).īaseExpression.index – Get a single element in the expression.īaseExpression.pick – Pick a number of elements from the expression.īaseExpression.slice – Get a slice of the expression.īaseExpression.toString – Return a string representation of the expression object.Įxpr.eval – Evaluate the expression and push the result onto the work stack. It represents an expression of the form \(Ax b\), where ![]()
0 Comments
Leave a Reply. |