PyAtl: Atlanta Python Programmers Message Board › How can i implement some linear algebraic calculation?

How can i implement some linear algebraic calculation?

Ketan G.
1991992
Atlanta, GA
Post #: 1
i am using numpy and scipy but i can not find any thing.
jcpilman
user 11662029
Atlanta, GA
Post #: 1
If you are solving a linear equation and you have the values of the constants and variables in the right, you use the =.

# y = mx + b
m = 5
b = 2
for x in range (3):
____y = m * x + b
# I put underscores to represent leading spaces.

Is that what you are looking for?
jcpilman
user 11662029
Atlanta, GA
Post #: 2
If you are solving a linear equation and you have the values of the constants and variables in the right, you use the =.

# y = mx + b
m = 5
b = 2
for x in range (3):
y = m * x + b

Is that what you are looking for?
Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy