var searchIndex = {}; searchIndex["rusty_machine"] = {"doc":"","items":[[0,"linalg","rusty_machine","",null,null],[0,"matrix","rusty_machine::linalg","The matrix module.",null,null],[3,"Matrix","rusty_machine::linalg::matrix","The Matrix struct.",null,null],[12,"cols","","",0,null],[12,"rows","","",0,null],[12,"data","","",0,null],[11,"new","","Constructor for Matrix struct.",0,{"inputs":[{"name":"usize"},{"name":"usize"},{"name":"vec"}],"output":{"name":"matrix"}}],[11,"zeros","","Constructs matrix of all zeros.",0,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"matrix"}}],[11,"ones","","Constructs matrix of all ones.",0,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"matrix"}}],[11,"identity","","Constructs the identity matrix.",0,{"inputs":[{"name":"usize"}],"output":{"name":"matrix"}}],[11,"from_diag","","Constructs matrix with given diagonal.",0,null],[11,"transpose","","Tranposes the given matrix",0,null],[11,"is_diag","","Checks if matrix is diagonal.",0,null],[11,"solve","","Solves the equation Ax = y.",0,null],[11,"inverse","","Computes the inverse of the matrix.",0,null],[11,"det","","Computes the determinant of the matrix.",0,null],[11,"lup_decomp","","Computes L, U, and P for LUP decomposition.",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"add","","",0,null],[11,"add","","",0,null],[11,"add","","",0,null],[11,"add","","",0,null],[11,"sub","","",0,null],[11,"sub","","",0,null],[11,"sub","","",0,null],[11,"sub","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"index","","",0,null],[11,"norm","","Compute euclidean norm for matrix.",0,null],[0,"vector","rusty_machine::linalg","The vector module.",null,null],[3,"Vector","rusty_machine::linalg::vector","The Vector struct.",null,null],[12,"size","","",1,null],[12,"data","","",1,null],[11,"new","","Constructor for Vector struct.",1,{"inputs":[{"name":"vec"}],"output":{"name":"vector"}}],[11,"zeros","","Constructs Vector of all zeros.",1,{"inputs":[{"name":"usize"}],"output":{"name":"vector"}}],[11,"ones","","Constructs Vector of all ones.",1,{"inputs":[{"name":"usize"}],"output":{"name":"vector"}}],[11,"dot","","Compute dot product with specified Vector.",1,null],[11,"sum","","The sum of the vector.",1,null],[11,"mean","","The mean of the vector.",1,null],[11,"mul","","",1,null],[11,"mul","","",1,null],[11,"div","","",1,null],[11,"div","","",1,null],[11,"add","","",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,"sub","","",1,null],[11,"index","","",1,null],[11,"norm","","Compute euclidean norm for vector.",1,null],[0,"utils","rusty_machine::linalg","Linear algebra utils module.",null,null],[5,"dot","rusty_machine::linalg::utils","Compute dot product of two slices.",null,null],[5,"unrolled_sum","","Compute sum of two slices.",null,null],[5,"argmax","","Find argmax of slice.",null,null],[5,"find","","Find index of value in slice.",null,null],[8,"Metric","rusty_machine::linalg","",null,null],[10,"norm","","",2,null],[0,"learning","rusty_machine","",null,null],[0,"lin_reg","rusty_machine::learning","Linear Regression module",null,null],[3,"LinRegressor","rusty_machine::learning::lin_reg","",null,null],[12,"b","","",3,null],[11,"new","","Constructs untrained linear regression model.",3,{"inputs":[],"output":{"name":"linregressor"}}],[11,"train","","Train the linear regression model.",3,null],[11,"predict","","Predict output value from input data.",3,null],[8,"Model","rusty_machine::learning","",null,null],[10,"predict","","",4,null],[10,"train","","",4,null]],"paths":[[3,"Matrix"],[3,"Vector"],[8,"Metric"],[3,"LinRegressor"],[8,"Model"]]}; initSearch(searchIndex);