var searchIndex = {}; searchIndex["numeric"] = {"doc":"Numeric Rust provides a foundation for doing scientific computing with Rust. It aims to be for\nRust what Numpy is for Python.","items":[[0,"tensor","numeric","The tensor module defines a N-dimensional matrix object.",null,null],[3,"Tensor","numeric::tensor","An implementation of an N-dimensional matrix.",null,null],[4,"AxisIndex","","Used for advanced slicing of a `Tensor`.",null,null],[13,"Full","","Indexes from start to end for this axis.",0,null],[13,"Ellipsis","","Indexes from start to end for all axes in the middle. A maximum of one can be used.",0,null],[13,"NewAxis","","Creates a new axis of length 1 at this location.",0,null],[13,"Index","","Picks one elements of an axis. This will remove that axis from the tensor.",0,null],[13,"Slice","","Specifies a half-open range. Slice(2, 5) will pick out indices 2, 3 and 4.",0,null],[13,"SliceFrom","","Specifies the start (inclusive) and to the end.",0,null],[13,"SliceTo","","Specifies the end (exclusive) from the start.",0,null],[11,"clone","","",0,null],[11,"empty","","Creates a new tensor with no elements.",1,{"inputs":[],"output":{"name":"tensor"}}],[11,"new","","Creates a new tensor from a `Vec` object. It will take ownership of the vector.",1,{"inputs":[{"name":"vec"}],"output":{"name":"tensor"}}],[11,"range","","Creates a new tensor with integer values starting at 0 and counting up:",1,{"inputs":[{"name":"usize"}],"output":{"name":"tensor"}}],[11,"filled","","Creates a new tensor of a given shape filled with the specified value.",1,null],[11,"zeros","","Creates a zero-filled tensor of the specified shape.",1,null],[11,"ones","","Creates a one-filled tensor of the specified shape.",1,null],[11,"eye","","Creates an identify 2-D tensor (matrix). That is, all elements are zero except the diagonal\nwhich is filled with ones.",1,{"inputs":[{"name":"usize"}],"output":{"name":"tensor"}}],[11,"shape","","Returns the shape of the tensor.",1,null],[11,"data","","Returns a reference of the underlying data vector.",1,null],[11,"flatten","","Flattens the tensor to one-dimensional. Takes ownership and returns a new tensor.",1,null],[11,"strides","","Returns the strides of tensor for each axis.",1,null],[11,"size","","Returns number of elements in the tensor.",1,null],[11,"ndim","","Returns the number of axes. This is the same as the length of the shape array.",1,null],[11,"slice","","Takes slices (subsets) of tensors and returns a tensor as a new object. Uses the\n`AxisIndex` enum to specify indexing for each axis.",1,null],[11,"reshaped","","",1,null],[11,"dot","","Takes the product of two tensors. If the tensors are both matrices (2D), then a matrix\nmultiplication is taken. If the tensors are both vectors (1D), the scalar product is taken.",1,{"inputs":[{"name":"tensor"},{"name":"tensor"}],"output":{"name":"tensor"}}],[11,"index","","",1,null],[11,"index_mut","","",1,null],[11,"index","","",1,null],[11,"index_mut","","",1,null],[11,"index","","",1,null],[11,"index_mut","","",1,null],[11,"index","","",1,null],[11,"index_mut","","",1,null],[11,"fmt","","",1,null],[11,"add","","",1,null],[11,"add","","",1,null],[11,"add","","",1,null],[11,"sub","","",1,null],[11,"sub","","",1,null],[11,"sub","","",1,null],[11,"mul","","",1,null],[11,"mul","","",1,null],[11,"mul","","",1,null],[11,"div","","",1,null],[11,"div","","",1,null],[11,"div","","",1,null],[11,"eq","","",1,null],[11,"clone","","",1,null],[0,"tests","numeric","",null,null]],"paths":[[4,"AxisIndex"],[3,"Tensor"]]}; initSearch(searchIndex);