Git Product home page Git Product logo

Comments (9)

fate118 avatar fate118 commented on July 28, 2024

please help me

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

why is it error?????????????????/

elif sub_id == "D":
    energy[x > 0] += sub_id.eye * x  # the notation can be mixed with numpy indexing

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

do error for version python?

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

boolean index did not match indexed array along dimension 1; dimension is 3 but corresponding boolean dimension is 1.
error why??????????????????????????????

from pybinding.

lise1020 avatar lise1020 commented on July 28, 2024

Hi, dears:

Can you first normalize your codes like my following example? It is hard for user to debug your codes directly without correct format. See this document too. https://help.github.com/articles/creating-and-highlighting-code-blocks/

import pybinding as pb
from pybinding.repository import graphene

def asymmetric_strain(c):
    @pb.site_position_modifier
    def displacement(x, y, z):
        ux = -c/2 * x**2 + c/3 * x + 0.1
        uy = -c*2 * x**2 + c/4 * x
        return x + ux, y + uy, z
    return displacement

model = pb.Model(
    graphene.bilayer(),
    pb.regular_polygon(num_sides=3, radius=1.1),
    asymmetric_strain(c=0.42)
)
model.plot()

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

what is Linguist?
how install it?
how use it?

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

answer me please

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

I first normalizer my codes in my program. it is true.

from pybinding.

fate118 avatar fate118 commented on July 28, 2024

when i want to sent you it was wrong. but in my program it is true

from pybinding.

Related Issues (20)

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.