A linear algebraic library. Includes Trigonometric, matrices, inner-product-spaces, general-vector-spaces, euclidean-vector-spaces, vectors in 2 and 3 spaces and linear transformations.
version 0.1.1-alpha
version 1.0
#import<string>
#import<vector>
#import<jackstring.h>// include Jackscriptmain(){
//declarations
string str = "samantha";
string str2 = "ant";
//implementationint a = js::length(str);
cout << a << endl; // returns 8int b = js::includes(str2, str);
cout << b << endl; // returns 3///////////////////////////////convert a char to a stringchar myChar = 'A';
string str3 ; str3 = js::charToString(myChar); cout << str3 << endl; // returns "A"return0;
}#import<string>
#import<vector>
#import<jackvector.h>// include Jackscriptmain(){
// declarations
std::vector<Char> MyArray;
std::string MyString = "hello world";
// call function
MyArray = js::stringToVector(MyString); // returns a vector
}