Skip to content

Instantly share code, notes, and snippets.

View ufechner7's full-sized avatar

Uwe Fechner ufechner7

View GitHub Profile
@ufechner7
ufechner7 / Radau_Tether_01.py
Created November 16, 2016 16:09
Simulation of a point mass - spring damper system
# -*- coding: utf-8 -*-
"""
Tutorial example showing how to use the implicit solver Radau5DAE.
It simulates a falling mass.
"""
import numpy as np
import pylab as plt
from assimulo.problem import Implicit_Problem #Imports the problem formulation from Assimulo
from assimulo.solvers import Radau5DAE #Imports the solver IDA from Assimulo
@ufechner7
ufechner7 / viewer.jl
Created January 14, 2017 15:14
GLVisualize example
using GLVisualize, GeometryTypes, Colors
using Reactive, GLAbstraction
window = glscreen()
timesignal = loop(linspace(0f0, 1f0, 360))
large_sphere = HyperSphere(Point3f0(0), 1f0)
rotation_angle = const_lift(*, timesignal, 2f0*pi)
rotation = map(rotationmatrix_z, rotation_angle)
@ufechner7
ufechner7 / data.tar.xz
Last active November 28, 2021 18:00
Data to reproduce a bug in Impute.jl
This file has been truncated, but you can view the full file.