Add missing snippets for erf/erfc/lgamma functions.
This commit is contained in:
parent
16dd82ed51
commit
b84cefe61d
2
doc/snippets/Cwise_erf.cpp
Normal file
2
doc/snippets/Cwise_erf.cpp
Normal file
@ -0,0 +1,2 @@
|
||||
Array4d v(-0.5,2,0,-7);
|
||||
cout << v.erf() << endl;
|
||||
2
doc/snippets/Cwise_erfc.cpp
Normal file
2
doc/snippets/Cwise_erfc.cpp
Normal file
@ -0,0 +1,2 @@
|
||||
Array4d v(-0.5,2,0,-7);
|
||||
cout << v.erfc() << endl;
|
||||
2
doc/snippets/Cwise_lgamma.cpp
Normal file
2
doc/snippets/Cwise_lgamma.cpp
Normal file
@ -0,0 +1,2 @@
|
||||
Array4d v(0.5,10,0,-1);
|
||||
cout << v.lgamma() << endl;
|
||||
Loading…
Reference in New Issue
Block a user