WeiNote

weinote

New

2020

Dec 07

2020-12-07 ·

Hello World!

coolcool

def yay():
    print("ok")

yay()

blablabla

2020

Dec 29

2020-12-29 ·

Python Test dzszsdsz test test

import torch
import numpy as np
a = torch.tensor([[6, 1, 1, 1, 1]])

Testing 1, 2, 3

2020

Dec 07

2020-12-07 ·

I think this is very cool!

greetings 🇮🇹

alert('ciao');

2020

Nov 15

2020-11-15 ·
$$ \begin{gather} \mathbf{x} \equiv \sqrt{\frac{\hbar}{m \omega}} \xi = \sqrt{\frac{\hbar}{ \sqrt{k m}}}\xi \\ \beta \equiv \sqrt{\frac{\hbar}{ \sqrt{k m}}} \\ \mathbf{x} \equiv \beta \xi \\ \psi(x) \equiv \psi(\beta \xi) \equiv \phi(\xi) \\ \end{gather} $$
So
$$ \begin{gather} -\frac{\hbar^{2}}{2 m} \frac{d^{2}}{d x^{2}} \psi(x)+\frac{1}{2} kx^{2} \psi(x)=E \psi(x) \\ \end{gather} $$

could be rewrite as

$$ \begin{gather} -\frac{\hbar^{2}}{2 m \beta^2} \frac{d^{2}}{d \xi^{2}} \phi(\xi)+\frac{1}{2} k\beta^2\xi^{2} \phi(\xi)=E \phi(\xi) \\ -\frac{\hbar^{2}}{2 m \frac{\hbar}{ \sqrt{k m}} } \frac{d^{2}}{d \xi^{2}} \phi(\xi)+\frac{1}{2} k \frac{\hbar}{ \sqrt{k m}} \xi^{2} \phi(\xi)=E \phi(\xi) \\ -\frac{\hbar}{2} \sqrt{\frac{k}{m}} \frac{d^{2}}{d \xi^{2}} \phi(\xi)+\frac{\hbar}{2} \sqrt{\frac{k}{m}} \xi^{2} \phi(\xi)=E \phi(\xi) \\ -\frac{\hbar \omega}{2} \frac{d^{2}}{d \xi^{2}} \phi(\xi)+\frac{\hbar \omega}{2} \xi^{2} \phi(\xi)=E \phi(\xi) \\ \end{gather} $$

2020

Oct 19

2020-10-19 ·

Latex notation in place

$$ F = \overbrace{a + bx + x^3}^\textrm{part1} + \underbrace{dx^2 + c \frac{1}{x}}_\textrm{text 2} $$

2020

Jul 19

2020-07-19 ·

Future plans

  • support hello
  • support world
  • support hello world
  • fix bug hello world

2020

Jul 18

2020-07-18 ·

Table Test

Small Table

name age
LearnShare 12
Mike 32

Medium Table

Default aligned Left aligned Center aligned Right aligned
First body part Second cell Third cell fourth cell
Second line foo strong baz
Third line quux baz bar
Second body
2nd line
Third body Foo

Large Table

Almond Milk vs. Cow’s Milk vs. Soy Milk vs. Rice Milk

Calories Carbohydrates (total) Sugars Fat (total) Protein
Cow’s milk (whole) 150 12 g (lactose!) 12 g 8 g 8 g
Almond milk (unsweetened) 40 1 g 0 g 3 g 2 g
Soy milk (unsweetened) 80 4 g 1 g 4 g 7 g
Coconut milk beverage (unsweetened) 50 2 g 0 g 5 g 0 g

2020

Jul 13

2020-07-13 ·

Latex Test

Block

Group equation with $$

$$\hat H\left|k\right> = -\frac{\hbar^2}{2m} \frac{\partial^2\left|k\right>}{\partial x^2} = -\frac{\hbar^2}{2m} \frac{\partial^2}{\partial x^2}\left(\frac{1}{\sqrt{2\pi}}e^{ikx} \right)$$
$$ F(x,y)=0 ~~\mbox{and}~~ \left| \begin{array}{ccc} F''_{xx} & F''_{xy} & F'_x \\ F''_{yx} & F''_{yy} & F'_y \\ F'_x & F'_y & 0 \end{array}\right| = 0 $$
$$\Psi_{\Delta k}(x) = \frac{2N\sin(\Delta kx)}{x} e^{ik_ox}$$

Inline

Group equation with /$ Inline test /$ \Psi/$ is a wavefunction, /$ y=ax+b/$

2020

Apr 25

2020-04-25 ·

test for weinote

2020

Feb 03

2020-02-03 ·

Python copy.copy() vs copy.deepcopy()

example

>>> a = [1, 2, [3]]
>>> b = copy.copy(a)
>>> c = copy.deepcopy(a)
>>> a[-1][0] = 4

results

>>> a
[1, 2, [4]]
>>> b
[1, 2, [4]]
>>> c
[1, 2, [3]]