Coder Social home page Coder Social logo

emptymalei / whymathematica Goto Github PK

View Code? Open in Web Editor NEW
84.0 24.0 47.0 44.71 MB

[DEPRECATED]:computer: started as Mathematica tutorials/evolved into a messy collection of Mathematica scripts; Mathematica 简易教程/一个乱七八糟的放 notebook 的地方

Mathematica 97.93% CSS 1.54% XSLT 0.17% TeX 0.05% HTML 0.32%

whymathematica's People

Contributors

emptymalei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whymathematica's Issues

Proposal | Guokr Q&A Test

可以看看这样一个数据:

在有很多人回答的问题中,写过答案的人到底有多少人还会支持其他人的答案。

通过多个问题的检查,可以说明

  1. 到底大家知不知道支持这个东西是干吗用的?
  2. 是心理因素么?

24

著作权归作者所有。
商业转载请联系作者获得授权,非商业转载请注明出处。
作者:丁小文
链接:http://zhuanlan.zhihu.com/dingwen/20523241
来源:知乎

toExprs[t_List] := Block[{x = ToString@t[[1]], y = ToString@t[[2]]},
   Prepend[t[[-Length@t + 2 ;;]], #] & /@ ("(" <> # <> ")" & /@ 
      Flatten[{x <> # <> y, y <> # <> x} & /@ {"+", "-", "*", "/"}])];
f[s_] := Flatten[toExprs[#] & /@ s, 1];
solve[num_List] := Block[{nums = Permutations[num]},
   Select[
    StringTake[
     DeleteDuplicates@
      Flatten@Nest[f, nums, Length[num] - 1], {2, -2}], 
    Quiet@ToExpression[#] == 25 &]];

solve[{1, 2, 3, 4}]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.