Skip to content

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.

Notifications You must be signed in to change notification settings

macbaseSoftware/JackScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JackScript

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.

Current Version

version 0.1.1-alpha

First Release Version

version 1.0

String library Usage

#import <string>
#import <vector>
#import <jackstring.h> // include Jackscript

main(){
  	//declarations
  	string str = "samantha";
	string str2 = "ant";

	//implementation
	int a = js::length(str);
	cout << a << endl; // returns 8
	
	int b = js::includes(str2, str);
	cout << b << endl; // returns 3

	/////////////////////////////
	//convert a char to a string
	char myChar = 'A';
	string str3 ;   
	str3 = js::charToString(myChar); 
	cout << str3 << endl; // returns "A"

	return 0;
}

Vector library Usage

#import <string>
#import <vector>
#import <jackvector.h> // include Jackscript

main(){
  // declarations
  std::vector<Char> MyArray;
  std::string MyString = "hello world";
  
  // call function
  MyArray = js::stringToVector(MyString); // returns a vector  
}

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy