MCPcopy Index your code

hub / github.com/Axect/Peroxide / functions

Functions1,535 in github.com/Axect/Peroxide

↓ 296 callersMethoditer
Main Jacobi traits Reference : Press, William H., and William T. Vetterling. *Numerical Recipes.* Cambridge: Cambridge Univ. Press, 2007.
src/numerical/eigen.rs:85
↓ 239 callersFunctionassert_close
(actual: f64, expected: f64)
tests/jet_tests.rs:10
↓ 188 callersMethodlen
(&self)
src/grave/dataframe.rs:263
↓ 186 callersMethodinto
(self)
src/grave/dataframe.rs:233
↓ 138 callersFunctionmatrix
R-like matrix constructor # Examples ``` #[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() { let a = matrix(c!(1,2,3,4), 2, 2, Ro
src/structure/matrix.rs:766
↓ 125 callersMethodlen
Length for Series
src/structure/dataframe.rs:1199
↓ 120 callersMethodpush
Push new pair of head, Series to DataFrame
src/structure/dataframe.rs:1623
↓ 113 callersMethodinto_iter
(self)
src/grave/ad.rs:120
↓ 110 callersMethodprint
(&self)
src/util/print.rs:21
↓ 100 callersMethodvalue
Just extract value
src/grave/dual.rs:117
↓ 89 callersMethoddx
(&self)
src/structure/ad.rs:277
↓ 77 callersMethodto_string
(self)
src/structure/dataframe.rs:1173
↓ 76 callersMethodpowi
(&self, n: i32)
src/grave/ad.rs:223
↓ 57 callersMethodto_vec
Matrix to `Vec<Vec<C64>>` To send `Matrix` to `inline-python`
src/complex/matrix.rs:715
↓ 48 callersFunctiontab
(s: &str, space: usize)
src/util/useful.rs:34
↓ 46 callersMethodcol
Extract Column # Examples ```rust #[macro_use] extern crate peroxide; use peroxide::fuga::*; use peroxide::complex::matrix::*; let a = cmatrix(vec![
src/complex/matrix.rs:583
↓ 45 callersFunctioncmatrix
R-like complex matrix constructor # Examples ```rust #[macro_use] extern crate peroxide; use peroxide::fuga::*; use peroxide::complex::matrix::cmatri
src/complex/matrix.rs:185
↓ 45 callersFunctionf
(domain: &Vec<f64>, p: Vec<Number>)
src/grave/lm.rs:24
↓ 41 callersFunctionf
(g: f64, n: usize)
src/special/lanczos.rs:111
↓ 40 callersMethodfmap
(&self, f: F)
src/grave/ad.rs:142
↓ 39 callersMethodcoeff
(&self, k: usize)
src/structure/ad.rs:342
↓ 39 callersMethodto_f64_vec
Convert numeric Series to `Vec<f64>` Supports all integer and float types. Non-numeric types (Bool, Char, Str) return an error.
src/structure/dataframe.rs:1278
↓ 38 callersMethodexp
(&self)
src/grave/ad.rs:241
↓ 38 callersMethodinsert
Insert key & value pair (or only value)
src/grave/dataframe.rs:268
↓ 35 callersFunctionml_matrix
Matlab-like matrix constructor # Examples ``` #[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() { let a = ml_matrix("1 2; 3 4");
src/structure/matrix.rs:838
↓ 31 callersMethodfmap
(&self, f: F)
src/structure/matrix.rs:2801
↓ 31 callersMethodsin
(&self)
src/grave/ad.rs:267
↓ 31 callersMethodt
(&self)
src/structure/sparse.rs:117
↓ 30 callersMethodchange_shape
Change Bindings `Row` -> `Col` or `Col` -> `Row` # Examples ```rust use peroxide::fuga::*; use peroxide::complex::matrix::*; let mut a = cmatrix(ve
src/complex/matrix.rs:397
↓ 29 callersMethodsqrt
Square root using direct recurrence from $z^2 = a$: $z_0 = \sqrt{a_0}$, $z_n = \frac{1}{2\,z_0}\left(a_n - \sum_{k=1}^{n-1} z_k\, z_{n-k}\right)$
src/structure/ad.rs:816
↓ 28 callersFunctionad1
(x: f64, dx: f64)
src/structure/ad.rs:411
↓ 28 callersMethodddx
(&self)
src/structure/ad.rs:296
↓ 28 callersMethodfmap
(&self, f: F)
src/complex/matrix.rs:1611
↓ 28 callersFunctionprint_kv
(label: &str, value: T)
examples/clippy_verify.rs:52
↓ 27 callersMethodcol
Extract Column # Examples ``` #[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() { let a = matrix(c!(1,2,3,4), 2, 2, Row); assert_
src/structure/matrix.rs:1106
↓ 27 callersFunctionmax
(v: Vec<T>)
src/util/useful.rs:73
↓ 27 callersMethodpowi
Integer power via repeated multiplication.
src/structure/ad.rs:787
↓ 26 callersMethodis_empty
True if the Series has no elements.
src/structure/dataframe.rs:1204
↓ 24 callersMethodfind
(&self, problem: &P)
src/numerical/root.rs:556
↓ 22 callersMethodget
Get value by ref
src/grave/dataframe.rs:281
↓ 22 callersFunctionpoly
Convenient to declare polynomial
src/structure/polynomial.rs:259
↓ 22 callersMethodtaylor_coeff
Returns the $k$-th normalized Taylor coefficient $c_k = f^{(k)}(a) / k!$. - $k = 0$: $c_0 = f(a)$ - $k \ge 1$: $c_k$ = `deriv[k-1]`
src/structure/ad.rs:336
↓ 21 callersMethodset_coeff
(&mut self, k: usize, v: f64)
src/structure/ad.rs:354
↓ 20 callersFunctionintegrate
Simple integrate
src/prelude/simpler.rs:28
↓ 20 callersMethodto_matrix
Convert to matrix
src/grave/dataframe.rs:320
↓ 20 callersFunctionzeros
┌─────────────────────────────────────────────────────────┐ MATLAB like non-macro functions └─────────────────────────────────────────────────────────
src/util/non_macro.rs:221
↓ 19 callersMethodderivative
(&self, x: [f64; 1])
tests/root.rs:58
↓ 19 callersMethodln
(&self)
src/grave/ad.rs:245
↓ 19 callersFunctionsample_df
()
tests/dataframe/dataframe.rs:69
↓ 19 callersFunctionseq
┌─────────────────────────────────────────────────────────┐ R-like non-macro functions └─────────────────────────────────────────────────────────┘ R l
src/util/non_macro.rs:75
↓ 19 callersMethodtake
(&self, n: usize)
src/structure/ad.rs:1165
↓ 18 callersFunctionC
(n: usize, r: usize)
src/statistics/ops.rs:75
↓ 18 callersFunctionassert_close_eps
(actual: f64, expected: f64, eps: f64)
tests/jet_tests.rs:18
↓ 18 callersMethodsavefig
(&self)
src/util/plot.rs:436
↓ 18 callersMethodset_path
(&mut self, path: &str)
src/util/writer.rs:106
↓ 17 callersFunctionAD1
(x: f64, dx: f64)
src/structure/ad.rs:1230
↓ 17 callersMethodchange_shape
Change Bindings `Row` -> `Col` or `Col` -> `Row` # Examples ``` use peroxide::fuga::*; let a = matrix(vec![1,2,3,4],2,2,Row); assert_eq!(a.layout()
src/structure/matrix.rs:938
↓ 17 callersMethodnorm
(&self, _kind: Norm)
src/grave/dual.rs:689
↓ 17 callersMethodsample
(&self, n: usize)
src/util/wrapper.rs:15
↓ 17 callersMethodset_dpi
(&mut self, dpi: usize)
src/util/plot.rs:391
↓ 17 callersMethodset_xlabel
(&mut self, xlabel: &str)
src/util/plot.rs:336
↓ 17 callersMethodset_ylabel
(&mut self, ylabel: &str)
src/util/plot.rs:341
↓ 16 callersFunctionconcat
┌─────────────────────────────────────────────────────────┐ Haskell like non-macro functions └────────────────────────────────────────────────────────
src/util/non_macro.rs:420
↓ 16 callersMethodpowf
Float power: exp(f * ln(self))
src/structure/ad.rs:804
↓ 16 callersFunctionpy_matrix
Python-like matrix constructor # Examples ``` #[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() { let a = py_matrix(vec![c!(1,2),
src/structure/matrix.rs:809
↓ 16 callersMethodset_style
(&mut self, style: PlotStyle)
src/util/plot.rs:406
↓ 16 callersMethodsolve
( &self, problem: &P, t_span: (f64, f64), dt: f64, initial_conditions:
src/numerical/ode.rs:227
↓ 15 callersFunctionchoose_shorter_string
============================================================================= Choose Utils ===========================================================
src/util/useful.rs:49
↓ 15 callersFunctioneye
MATLAB like eye - Identity matrix # Examples ``` use peroxide::fuga::*; let a = eye(2); assert_eq!(a, MATLAB::new("1 0;0 1")); ```
src/util/non_macro.rs:239
↓ 15 callersMethodinsert_image
(&mut self, y: Vec<f64>)
src/util/plot.rs:315
↓ 15 callersFunctionjacobian
(f: F, x: &[f64])
src/numerical/utils.rs:41
↓ 15 callersMethodtake
(&self, n: usize)
src/grave/ad.rs:163
↓ 14 callersMethodrow
Extract Row # Examples ``` #[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() { let a = matrix(c!(1,2,3,4), 2, 2, Row); assert_eq!
src/structure/matrix.rs:1128
↓ 14 callersMethodsubs_row
(&mut self, idx: usize, v: &[C64])
src/complex/matrix.rs:687
↓ 13 callersMethodcall_stable
(&self, target: f64)
src/structure/ad.rs:1034
↓ 13 callersMethodeval
(&self, x: f64)
src/numerical/spline.rs:312
↓ 13 callersMethodeval
(&self, x: [f64; 1])
tests/root.rs:37
↓ 13 callersMethodpartial_cmp
(&self, other: &Self)
src/structure/ad.rs:482
↓ 13 callersMethodset_domain
(&mut self, x: Vec<f64>)
src/util/plot.rs:307
↓ 13 callersMethodsqrt
(&self)
src/grave/ad.rs:235
↓ 12 callersMethodadd
(self, rhs: &'b AD<A>)
src/grave/ad.rs:193
↓ 12 callersMethodat
Getter for Series # Examples ```rust extern crate peroxide; use peroxide::fuga::*; fn main() { let a = Series::new(vec![1i32,2,3,4]); let x = a.at(
src/structure/dataframe.rs:1194
↓ 12 callersFunctioncat
Concatenate a value and vector
src/util/non_macro.rs:428
↓ 12 callersFunctioncbind
R like cbind - concatenate two matrix by column direction # Examples ``` #[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() -> Res
src/util/non_macro.rs:147
↓ 12 callersMethodcos
(&self)
src/grave/ad.rs:272
↓ 12 callersFunctiondual
(x: T, dx: T)
src/grave/dual.rs:140
↓ 12 callersFunctionmin
(v: Vec<T>)
src/util/useful.rs:91
↓ 12 callersMethodmin
Minimum value, preserving original type
src/structure/dataframe.rs:1329
↓ 12 callersMethodzip_with
(&self, f: F, other: &Self)
src/grave/ad.rs:153
↓ 11 callersMethodborrow_mut
(&mut self)
src/grave/ad.rs:81
↓ 11 callersFunctionhash_f64s
(v: &[f64])
examples/clippy_verify.rs:31
↓ 11 callersMethodln
$\ln(a)$ using the normalized recurrence: $z_0 = \ln(a_0)$, $z_n = \frac{1}{a_0}\left(a_n - \frac{1}{n}\sum_{k=1}^{n-1} k\, z_k\, a_{n-k}\right)$
src/structure/ad.rs:744
↓ 11 callersMethodmax
Maximum value, preserving original type
src/structure/dataframe.rs:1366
↓ 11 callersMethodtight_layout
(&mut self)
src/util/plot.rs:411
↓ 11 callersMethodto_f64
(&self)
src/grave/ode.rs:449
↓ 11 callersMethodvalues
(&self)
src/grave/dual.rs:586
↓ 10 callersFunctionAD2
(x: f64, dx: f64, ddx: f64)
src/structure/ad.rs:1237
↓ 10 callersMethodapply
(&self, other: &Vec<C64>)
src/complex/matrix.rs:956
↓ 10 callersMethoddiag
Extract diagonal components # Examples ```rust #[macro_use] extern crate peroxide; use peroxide::fuga::*; use peroxide::complex::matrix::*; let a =
src/complex/matrix.rs:635
↓ 10 callersMethodinsert_pair
(&mut self, xy: (Vec<f64>, Vec<f64>))
src/util/plot.rs:323
next →1–100 of 1,535, ranked by callers