var searchIndex = {}; searchIndex["matrix"] = {"doc":"Matrix storage schemes.","items":[[3,"Band","matrix","A band matrix.",null,null],[12,"rows","","The number of rows.",0,null],[12,"columns","","The number of columns.",0,null],[12,"superdiagonals","","The number of superdiagonals.",0,null],[12,"subdiagonals","","The number of subdiagonals.",0,null],[12,"values","","The values of the diagonal elements stored as a `(superdiagonals + 1 +\nsubdiagonals) × columns` matrix such that the first row corresponds to\nthe uppermost superdiagonal whereas the last row corresponds to the\nlowest supdiagonal.",0,null],[3,"Compressed","","A compressed matrix.",null,null],[12,"rows","","The number of rows.",1,null],[12,"columns","","The number of columns.",1,null],[12,"nonzeros","","The number of nonzero elements.",1,null],[12,"format","","The storage format.",1,null],[12,"values","","The values of the nonzero elements.",1,null],[12,"indices","","The indices of rows when `format = Major::Column` or columns when\n`format = Major::Row` of the nonzero elements.",1,null],[12,"offsets","","The offsets of columns when `format = Major::Column` or rows when\n`format = Major::Row` such that the values and indices of the `i`th\ncolumn when `format = Major::Column` or the `i`th row when `format =\nMajor::Row` are stored starting from `values[j]` and `indices[j]`,\nrespectively, where `j = offsets[i]`. The vector has one additional\nelement, which is always equal to `nonzeros`.",1,null],[3,"Dense","","A dense matrix.",null,null],[12,"rows","","The number of rows.",2,null],[12,"columns","","The number of columns.",2,null],[12,"values","","The values stored in the column-major order.",2,null],[3,"Diagonal","","A diagonal matrix.",null,null],[12,"rows","","The number of rows.",3,null],[12,"columns","","The number of columns.",3,null],[12,"values","","The values of the diagonal elements.",3,null],[3,"Triangular","","A triangular matrix.",null,null],[12,"size","","The number of rows or columns.",4,null],[12,"format","","The storage format.",4,null],[12,"values","","The values stored in the column-major order.",4,null],[4,"Major","","A major dimension.",null,null],[13,"Column","","The column major.",5,null],[13,"Row","","The row major.",5,null],[4,"Part","","A part of a matrix.",null,null],[13,"Lower","","The lower triangular part.",6,null],[13,"Upper","","The upper triangular part.",6,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"rows","","",0,null],[11,"columns","","",0,null],[11,"nonzeros","","",0,null],[11,"from","","",2,{"inputs":[{"name":"band"}],"output":{"name":"dense"}}],[11,"from","","",2,{"inputs":[{"name":"band"}],"output":{"name":"dense"}}],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"rows","","",1,null],[11,"columns","","",1,null],[11,"get","","Read an element.",1,null],[11,"set","","Assign a value to an element.",1,null],[11,"resize","","Resize the matrix.",1,null],[11,"retain","","Retain the elements that satisfy a condition and discard the rest.",1,null],[11,"nonzeros","","",1,null],[11,"from","","",1,{"inputs":[{"name":"dense"}],"output":{"name":"compressed"}}],[11,"from","","",1,{"inputs":[{"name":"dense"}],"output":{"name":"compressed"}}],[11,"from","","",2,{"inputs":[{"name":"compressed"}],"output":{"name":"dense"}}],[11,"from","","",2,{"inputs":[{"name":"compressed"}],"output":{"name":"dense"}}],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"rows","","",2,null],[11,"columns","","",2,null],[11,"from_slice","","Create a matrix from a slice.",2,null],[11,"from_vec","","Create a matrix from a vector.",2,{"inputs":[{"name":"vec"},{"name":"s"}],"output":{"name":"dense"}}],[11,"index","","",2,null],[11,"index_mut","","",2,null],[11,"into","","",2,null],[11,"deref","","",2,null],[11,"deref_mut","","",2,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"rows","","",3,null],[11,"columns","","",3,null],[11,"from_slice","","Create a matrix from a slice.",3,null],[11,"from_vec","","Create a matrix from a vector.",3,{"inputs":[{"name":"vec"},{"name":"s"}],"output":{"name":"diagonal"}}],[11,"nonzeros","","",3,null],[11,"from","","",0,{"inputs":[{"name":"diagonal"}],"output":{"name":"band"}}],[11,"from","","",0,{"inputs":[{"name":"diagonal"}],"output":{"name":"band"}}],[11,"from","","",1,{"inputs":[{"name":"diagonal"}],"output":{"name":"compressed"}}],[11,"from","","",1,{"inputs":[{"name":"diagonal"}],"output":{"name":"compressed"}}],[11,"from","","",2,{"inputs":[{"name":"diagonal"}],"output":{"name":"dense"}}],[11,"from","","",2,{"inputs":[{"name":"diagonal"}],"output":{"name":"dense"}}],[11,"into","","",3,null],[11,"deref","","",3,null],[11,"deref_mut","","",3,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"rows","","",4,null],[11,"columns","","",4,null],[11,"nonzeros","","",4,null],[11,"from","","",2,{"inputs":[{"name":"triangular"}],"output":{"name":"dense"}}],[11,"from","","",2,{"inputs":[{"name":"triangular"}],"output":{"name":"dense"}}],[8,"Matrix","","A matrix.",null,null],[16,"Element","","The element type.",7,null],[8,"Sparse","","A sparse matrix.",null,null],[10,"nonzeros","","Return the number of nonzero elements.",8,null],[8,"Element","","An element.",null,null],[10,"zero","","Return the zero element.",9,{"inputs":[],"output":{"name":"self"}}],[8,"Position","","A position.",null,null],[10,"row","","Return the row.",10,null],[10,"column","","Return the column.",10,null],[11,"coordinates","","Return the row and column.",10,null],[8,"Size","","A size.",null,null],[10,"rows","","Return the number of rows.",11,null],[10,"columns","","Return the number of columns.",11,null],[11,"dimensions","","Return the number of rows and columns.",11,null],[11,"eq","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"eq","","",6,null],[11,"fmt","","",6,null],[11,"clone","","",6,null],[11,"coordinates","","Return the row and column.",10,null],[11,"dimensions","","Return the number of rows and columns.",11,null]],"paths":[[3,"Band"],[3,"Compressed"],[3,"Dense"],[3,"Diagonal"],[3,"Triangular"],[4,"Major"],[4,"Part"],[8,"Matrix"],[8,"Sparse"],[8,"Element"],[8,"Position"],[8,"Size"]]}; initSearch(searchIndex);