This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2012 Jeremy Trimble | |
import wx | |
from matplotlib.figure import Figure | |
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas | |
import numpy as np | |
from math import sqrt | |
import time | |
import types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Martin Stolpe <martinstolpe {at} gmail ... com> | |
# Maintainer: Martin Stolpe <martinstolpe {at} gmail ... com> | |
# This file was hacked up by Jeremy Trimble to allow it to build without GraphViz | |
pkgname=qfsm | |
pkgver=0.53.0 | |
pkgrel=2 | |
pkgdesc="A Qt graphical tool for designing finite state machines." | |
arch=('i686' 'x86_64') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile with: g++ -I/usr/include/eigen3 -std=c++11 -O3 t.cpp -o t | |
#include <Eigen/Dense> | |
#include <chrono> | |
#include <iostream> | |
#include <cmath> | |
using Eigen::MatrixXcf; | |
using Eigen::MatrixXf; |