Skip to content

Instantly share code, notes, and snippets.

@jskDr
Created February 18, 2014 12:19
Show Gist options
  • Save jskDr/9069929 to your computer and use it in GitHub Desktop.
Save jskDr/9069929 to your computer and use it in GitHub Desktop.
This is numpy codes for testing its basic functionality. Numpy offers the efficient way to calculate array and matrix for linear algebraic problems.
import numpy as np
x_org = [1,2,3]
x = np.array( x_org)
y = x + 2*x
print y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment