Giter Club home page Giter Club logo

macbasesoftware / jackscript Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 31 KB

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.

Home Page: http://jackscript.github.io

C++ 92.34% Makefile 7.66%
triganometry string-library vector-library matrices product-spaces general-vector-spaces euclidean-vector-spaces linear-transformations cpp string-and-vector-library

jackscript's Introduction

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  
}

jackscript's People

Contributors

danielromeo avatar

Watchers

 avatar  avatar

jackscript's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.