Re: [sage-support] How to graph on Sage

2019-04-04 Thread Jose Garcia
If you are looking just for a way to code a vector and use it to perform calculations you could just type in v = vector([1,2,3,5]) this would give you a column vector. If you have some matrix A already defined you could do A*v. and get the product you would expect. I hope this helps, if not thi

[sage-support] How to graph on Sage

2019-04-04 Thread Jayro Marin
Hi, I'm in linear this semester and they are making us use sage. I need help finding a way to code a a vector on a line of an equation. Any help would be great Thank you. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from thi

[sage-support] Re: Piecewise Function Fails to Evaluate in its Domain

2019-04-04 Thread brandonhgomes
But the original *does* evaluate at positive PI. print(f(pi)) # 0 This is a bug. On Wednesday, April 3, 2019 at 2:47:31 PM UTC-4, brando...@gmail.com wrote: > > The simplest example: > > f = piecewise([[[-pi-1, -pi/2], 0], [(-pi/2,pi/2), 1], [[pi/2, pi+1], 0]]) > print(f(-pi)) > > which gives th