Code Snippet Series expansion with swiginac (linux)
This script computes the formal series expansion of a mathematical function on the command line using the python module swiginac, an interface to the CAS Ginac. Typical invocation in a linux terminal looks like $ serexp.py -n 7 "log(1+x)*(1+x+x**2)**(-1)" 1*x+(-3/2)*x**2+5/6*x**3+5/12*x**4+(-21/20)*x**5+7/15*x**6+Order(x**7) As far as I know, swiginac does not work in windows, so use a virtual (k)ubuntu machine in this case.
|+1 forum 0|
Hi, I have a an "inland PCI Express Expansion Card 2-Port USB 3.0" installed onto my motherboard. I reformatted and have a fresh copy of Windows 7 on it. I also have Ubuntu on my other partition. Devices attached to the usb 3 ports were all working before the reformat, and it works on Ubuntu as well. But after my reformat, I installed my drivers and I can't seem to get it working. I can't find the exact driver for my product. I THINK there was a CD for it, but I don't remember, nor could I find one. I …
|+0 forum 4|
Hi All, I have a problem with a treeview class in my windows form. Specifically I'm try to detect when a user has expanded or contracted a node verses if they have clicked/selected the actual node. When the user clicks on the node, I want to expand / contract the node to Hide / Show the child nodes (if there are any,) and if there is an associated action trigger it. So my code goes like this: Sub SideMenu_MouseClick(sender as Object, e as System.Windows.Forms.TreeNodeMouseClickEventArgs ) Handles SideMenu.MouseClick Dim MyNode As TreeViewNode = e.Node 'here is where the problem occurs if …
|+1 forum 2|